<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of SegmentoPID
 *
 * @author josem
 */
class SegmentoPID {
    public $consecutivo;
    public $nroHistoriaPaciente;
    public $nombrePaciente;
    public $sexoPaciente;
    public $direcDomiciliaria;
    public $nroTelefono;
    
    public function __construct() {
       LogUtil::info("class SegmentoSCH", "__construct");              
    }
    
    public function SegmentoPID($nombrePaciente,$sexoPaciente,$direcDomiciliaria,$nroTelefono,$consecutivo="1",$nroHistoriaPaciente="0000000"){
        $this->nroHistoriaPaciente=$nroHistoriaPaciente;
        $this->nombrePaciente=$nombrePaciente;
        $this->sexoPaciente=$sexoPaciente;
        $this->direcDomiciliaria=$direcDomiciliaria;
        $this->nroTelefono=$nroTelefono;
        $this->consecutivo=$consecutivo;
    }

    public function __destruct() {
            LogUtil::info("class SegmentoSCH", "__destruct");
    }
}

?>
